babl: revert and clarify libtool flag for win32 builds
authorEdward E <develinthedetail@gmail.com>
Sat, 30 Sep 2017 19:32:49 +0000 (14:32 -0500)
committerØyvind Kolås <pippin@gimp.org>
Sat, 30 Sep 2017 20:19:28 +0000 (22:19 +0200)
babl/Makefile.am

index 6caa92964cba87821ac820d50f8fbf4c649f3f73..98b822bf04ed3bc3666b676d5bbfb026f2e878f6 100644 (file)
@@ -1,7 +1,7 @@
 ## Source directory
 
 if PLATFORM_WIN32
-no_undefined = -no-undefined
+win32_no_undefined = -no-undefined
 endif
 
 SUBDIRS = base
@@ -102,6 +102,7 @@ libbabl_la_LDFLAGS=                 \
        $(MATH_LIB) $(THREAD_LIB) $(LOG_LIB)
 
 libbabl_@BABL_API_VERSION@_la_LDFLAGS=                 \
+       ${win32_no_undefined}                           \
        $(MATH_LIB) $(THREAD_LIB) $(LOG_LIB)            \
        -export-symbols $(top_srcdir)/export-symbols    \
        -version-info $(BABL_LIBRARY_VERSION)